<div class="panel panel-default">
	<div class="panel-heading">
		<h3 class="panel-title">文章列表</h3>
	</div>
	<div class="panel-body">
		<!-- TAB NAVIGATION -->
		<ul class="nav nav-tabs" role="tablist">
			<li class="active"><a href="">文章列表</a></li>
			<li><a href="/index/article/add">添加文章</a></li>
		</ul>
		<!-- TAB CONTENT -->
		<div class="tab-content">
			<div class="active tab-pane fade in">
				<table class="table table-striped table-hover">
					<thead>
					<tr>
						<th>编号</th>
						<th>标题</th>
						<th width="150px">操作</th>
					</tr>
					</thead>
					<tbody>
					{foreach $articles as $vo}
					<tr>
						<td>{$vo.id}</td>
						<td>{$vo.title}</td>
						<td>
							<div class="btn-group">
								<a href="/index/article/edit?id={$vo.id}">
									<button type="button" class="btn btn-success">编辑</button>
								</a>
								<a href="/index/article/delete?id={$vo.id}">
									<button type="button" class="btn btn-danger">删除</button>
								</a>
							</div>
						</td>
					</tr>
					{/foreach}
					</tbody>
				</table>
			</div>
			{$articles|raw}
		</div>
	</div>
</div>